package com.Cychat.commons.entity.pojo;


import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("drug")
public class Drug {
    @Schema(description="药品ID")
    @TableId(value = "drug_id", type = IdType.AUTO)
    private Integer drugId;
    @Schema(description="药品名称")
    private String name;
    @Schema(description="规格参数")
    private String specification;
    @Schema(description="使用方法")
    private String usages;
    @Schema(description="使用禁忌")
    private String contraindication;
    @Schema(description="单价")
    private BigDecimal price;
    @Schema(description="创建时间")
    private Date createTime;
}